﻿using Applications.Presentation.Extensions.Commons;

namespace Applications.Presentation.Extensions
{
    /// <summary>
    /// 业务控件 - 公共控件
    /// </summary>
    public partial class BusinessControl<T>
    {
        /// <summary>
        /// 附件控件
        /// </summary>
        public IAttachmentControl<T> Attachment()
        {
            return new AttachmentControl<T>(_helper);
        }

        /// <summary>
        /// 在线HTML编辑器
        /// </summary>
        public IUeditorControl<T> Ueditor()
        {
            return new UeditorControl<T>(_helper);
        }

    }
}
